home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Programs 1995 Summer
/
Linux Programs.iso
/
raytrace
/
cad.4
< prev
next >
Wrap
Text File
|
1995-04-15
|
3KB
|
62 lines
These are my changes to BRL/CAD 4.2 to allow it to be made for Linux. It
includes previously contributed changes (cakeflex.tar, linux-diffs.tar), plus
quite a few changes of my own. I obviously haven't tested everything, but
it seems to work.. I will probably make an svgalib driver for mged/fb very
soon. It would be nice to have a slightly more sophisticated driver than
the X one... perhaps user-initiable color quantization (the 6x6x6+ color
cube really looks terrible) for the fb driver and mouse button remapping for
the mged driver (I have a 2-button mouse w/ a small machine, and let me tell
ya, having to undo zooms every time I press the simulated middle button is a
real pain.. plus I'm sure there are still people out there w/ 1-button
mice..).
I don't think that I included enough relevant portions of the distribution
to warrant encryption, but of course you will still need the main
distribution off of army.arl.mil or wherever you can find it, which is
encrypted.. [see the directions there for how to register & get the printed
manual + decryption key].
Note: the file on army.arl.mil, etc. called "brlcad-linux.tar.gz" is not the
same as what you get from my patches. Someone else made that, & didn't bother
to upload his diffs to the source code, so I made this.. The main difference
I can see off-hand is that he didn't provide the full results of a full "cake
install", so you'd have to get the source code tree anyway, and I made all
the included libraries into shared libs, whereas he only did librt, and
didn't even provide the .sa file to go with it..
The shared libraries require the dll toolkit, of which I used V2.11. Make
sure the bin dir containing the tools is in your path before running anything
which might make a shared library (mklibs.sh, cake all). For slackware
(2.0+?), this means adding /usr/dll/bin to your path. In fact, the Cakefile
depends on the toolkit's jump-as to be located as /usr/dll/jump/as.
To install for linux:
cd /usr/src/cad ( or wherever you untar'd BRL/CAD )
patch -p < linux.patch ( or wherever you put the patch )
setup.sh
cake clobber
mklibs.sh
cake all
cake install
# do whatever you want with the bench, dhrystone, whetstone, and jove dirs
cake clobber ; rm -rf lib*/jump
You'll need about 66M free space to get past the 'cake install' line, and
if you want to do anything with the dirs which are not automatically
installed, you will probably need more.
The actuall installation (du -s /usr/brlcad after cake install) is ~11M.
Note: I can't say anything about the speed of this package, since I only
ran it on my machine, a lowly 25 MHz 486SX, no math coprocessor... Even so,
the benchmark produced ~5-6X the listed performance of a VAX 11/780, which
isn't too bad for what passes for a low-end machine nowadays...
Next on my list: port to Amiga [at least as a frame buffer], port of v4.3+,
perhaps get xmged to working [w/o having to shell out $150 for Motif].
-----------------------------------------------------------------------------
Thomas J. Moore, Amiga Developer | Parallel Processing: The future of PC's
inet: dark@mama.indstate.edu | Must .... Kill .... Bugs.... AAARRRGGHHH
-----------------------------------------------------------------------------